package com.tarena.lbs.common.basic.enums;


import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum BasicResultEnum {

    SUCCESS("0", "success"),
    FAILED("500", "服务错误，请稍后"),

    /**
     * 业务异常，code 从10001开始
     */
    DATA_NOT_FIND("10001", "数据不存在"),
    NOT_REPEAT_DICT_TYPE("10013", "字典类型不能重复"),

    ;



    private String code;
    private String message;

}

